﻿using System.Windows;

using Core.Model.Hierarchy;

namespace UI
{
    public class DependencyContainer : DependencyObject
    {
        #region Public fields

        public Project Project
        {
            get { return (Project) GetValue(ProjectProperty); }
            set { SetValue(ProjectProperty, value); }
        }

        #endregion

        #region Dependency properties

        public static readonly DependencyProperty ProjectProperty = DependencyProperty.Register("Project", typeof(Project), typeof(DependencyContainer), new PropertyMetadata(null));

        #endregion
    }
}